package com.anpy.bill.service;


import com.anpy.bill.entity.BankEntity;
import com.anpy.bill.entity.CardEntity;
import com.anpy.bill.entity.PayTypeEntity;
import com.anpy.bill.model.param.DepositParam;
import com.anpy.bill.model.param.SaveBankParam;

import java.util.List;

/**
 * @Author : anpy
 * @create 2024/1/22 17:07
 */
public interface CardService {

    boolean saveDeposit(DepositParam depositParam);

    List<CardEntity> cardList(Integer depositType, Long userId);

    List<PayTypeEntity> payTypeList(Long userId);

    List<BankEntity> bankList(Long userId, Integer type);

    int saveBank(SaveBankParam saveBankParam);

}
